package com.scs.application.modules.upms.security.integration.authenticator;

import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 */
@Getter
@Setter
public class IntegrationAuthentication {

    private String authType;
    private String username;
    private Map<String, Object> authParameters;

    public String getAuthParameter(String paramter) {
        Object obj = this.authParameters.get(paramter);
        if (obj != null) {
            return obj.toString();
        }
        return null;
    }
}
